package nyx.service.book;

import java.util.List;

import nyx.pojo.Book;



public interface BookService {

	
	List<Book> getAll(int pageIndex, int pageSize);

	int getPageCount(int pageSize);

	Book getOne(int bId);

	int borrowBook(int readerId, int bId);

	int returnBook(int readerId, int bid);
}
